
//应急值班的对话框
var oneyjzbDlg = null;

function oneyjzbDlgInit(){
	if(oneyjzbDlg==null){//如果对话框不存在，那么创建
		oneyjzbDlgCreate();
		oneyjzbDlg.zindex();
	}else if(itemExistArray(oneyjzbDlg,minDlgArray)){//如果对话框存在，且对话框处在最小化的状态
		//调用minbar.js之中的还原方法
		resizeMinDlgFuncBySecondaryfuncDiv(oneyjzbDlg);
	}
	oneyjzbDlg.zindex();
}	

//创建对话框
function oneyjzbDlgCreate(){
	oneyjzbDlg =  $.dialog({
		title: '应急值班',
		content: 'url:jsp/zbgl/zbManager.jsp',
		dlgDivId: "oneyjzbDlgId",
		resize: false,
		max: false,
		left:(document.documentElement.clientWidth-830)/2+"px",
		top:'200px',
		width:'830px',
		height:'400px',
		min:oneyjzbDlgMinFunction,
		close:oneyjzbDlgCloseFunction,
		
	});
}

//关闭的方法
function oneyjzbDlgCloseFunction(){
	oneyjzbDlg = null;
}

//最小化的方法
function oneyjzbDlgMinFunction(){
	minDlgByAnimate(oneyjzbDlg);
}
